﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using TCEasyPrintRev.Models;

namespace TCEasyPrintRev.WCF_pemesanan
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPemesanan" in both code and config file together.
    [ServiceContract]
    public interface IPemesanan
    {
        

        //pemesanan
        [OperationContract]
        List<string> getProduk();
        [OperationContract]
        List<string> getPaketbyProduk(string id);
        [OperationContract]
        string getPaketbyID(string id);
        [OperationContract]
        double getHargaWarna(string id);
        [OperationContract]
        double getHargaBahan(string id);
        [OperationContract]
        string getNamaWarna(string id);
        [OperationContract]
        string getNamaBahan(string id);
        [OperationContract]
        void tambahPesanan();

    }
}
